<!--
  ~ Copyright (C) 2010 Brockmann Consult GmbH (info@brockmann-consult.de)
  ~
  ~ This program is free software; you can redistribute it and/or modify it
  ~ under the terms of the GNU General Public License as published by the Free
  ~ Software Foundation; either version 3 of the License, or (at your option)
  ~ any later version.
  ~ This program is distributed in the hope that it will be useful, but WITHOUT
  ~ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  ~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  ~ more details.
  ~
  ~ You should have received a copy of the GNU General Public License along
  ~ with this program; if not, see http://www.gnu.org/licenses/
  -->

<html>
<head>
    <title>FU Classification</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="style.css">
</head>

<body>
<table class="header">
    <tr class="header">
        <td class="header">Forel-Ule Algorithm For True Color Classification</td>
        <td class="header" align="right"><img src="images/snap_header.jpg" border=0></td>
    </tr>
</table>

<p>True Colour Classification of Natural Waters with Medium-Spectral Resolution Satellites</p>

<h2>User Interface</h2>

FU classification can be invoked in the Sentinel Toolbox from tool menu by selecting
<b>Optical -> Thematic Water Processing-> FU classification</b>.

<br>
<p align="center">
    <img src="images/IOParameters.png" align="center">
</p>

<h4>Source Product Group</h4>

<b>Source product:</b> Here the user specifies the source product reflectance. The combo box presents a list of all products opened
in the Sentinel Toolbox. The user may select one of these or, by clicking on the button next to the combo box, choose a product
from the file system.
<br>

<h4>Target Product Group</h4>
<b>Name:</b> to specify the name of the target product.
<br>
<br>

<b>Save as:</b> checkbox to specify whether the target product should be saved to the file system. The combo box presents a
list of available file formats. The text field or the button next to it allow to specify a target directory.
<br>
<br>

<b>Open in SNAP:</b> Used to specify whether the target product should be opened in the Sentinel Toolbox. When the
target product is not saved, it is opened in the Sentinel Toolbox automatically.

<p></p>

<p align="center">
    <img src="images/ProcessParameters.png" align="center">
</p>

<h4>Processing Parameters Panel</h4>
<p><b>Copy all source bands:</b><br>
    Checking this option, will copy all the source bands to the target product.</p>
<p><b>Multiply input reflectance with PI:</b><br>
    Checking this option will multiply the reflectance with PI.</p>
<p><b>Valid pixel expression:</b><br>
    This expression is used to validate pixels. Only valid pixels will be considerd for processing. If no expression is specified
    the first applicable expression for the input product will be applied as in <a href="#valid_expressions"> Valid expressions</a>. If the
    expression is set to
    <b>TRUE</b>, then all pixels are considered to be valid. The ellipsis-button can be used to create a valid expression.</p>
<br>
<p>Default valid expressions</p>
<table id="valid_expressions">
    <tr>
        <td rowspan="2">OLCI</td>
        <td>WQSF_lsb.WATER and not WQSF_lsb.CLOUD
        </td>
    </tr>
    <tr>
        <td>LQSF_WATER</td>
    </tr>
    <tr>
        <td>S2_MSI</td>
        <td>TRUE</td>
    </tr>
    <tr>
        <td rowspan="3">MERIS</td>
        <td>l2_flags.WATER</td>
    </tr>
    <tr>
        <td>not l1p_flags.CC_LAND and not l1p_flags.CC_CLOUD</td>
    </tr>
    <tr>
        <td>NOT l1_flags.LAND_OCEAN</td>
    </tr>
    <tr>
        <td>MODIS, SEAWIFS, CZCS</td>
        <td>not l2_flags.LAND and not l2_flags.CLDICE</td>
    </tr>
    <tr>
        <td>MODIS500</td>
        <td>TRUE</td>
    </tr>
</table>

<br>
<p><b>Reflectance band name pattern:</b><br>
    The used reflectance band names must match the given pattern. Useful, if there is more then one spectrum in the product.
    Here a regular expression can be used.  There is a nice tutorial on <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
        <param name="content" value="http://www.vogella.com/tutorials/JavaRegularExpressions/article.html">
        <param name="text" value="vogella.com">
    </object>.
</p>
<p>Example expressions:</p>
<table>
    <tr>
        <td>Rrs.*</td>
        <td>Will match any name witch starts with 'Rrs'. E.g.: Rrs_04</td>
    </tr>
    <tr>
        <td>reflec_\d\d_band</td>
        <td>Will match any name witch starts with 'reflec_' and ends with '_band'. in the middle must be two digits. E.g.: reflec_12_band</td>
    </tr>

</table>

<p><b>Instrument:</b><br> Allows to select which instrument specific settings shall be used, if the auto detection fails.</p>

<p><b>Include intermediate results in output:</b><br>
    Whether or not the intermediate results shall be written to the target output. The default value is "true".</p>


<br>
<br>
<br>
<hr>
</body>
</html>
